


#ifndef INC_ELECTRICITY_GET_H_
#define INC_ELECTRICITY_GET_H_


#include "inc_file.h"

#if foc_deug == 1


extern  u16 adcValueArray[10];

void AdcConfigInit(void);

float calculate_current_I(uint32_t voltage);

void start_adc();
float get_adc_u_value();
float get_adc_v_value();


#endif

#endif

